package com.tang.objectOriented.middleRank.super_;

public class A extends Base {
    //public int n1 = 100; 如果自己和父类有冲突，那么会默认选择当前类属性
    public String name = "A";
    protected int n2 = 200;
    int n3 = 300;
    private int n4 = 400;
    public A() {}
    public A(String name) {}
    public A(String name, int age) {}

    public void cal() {
        System.out.println("A类的cal() 方法...");
    }
    public void test100() {
    }

    protected void test200() {
    }

    void test300() {
    }

    private void test400() {
    }
}
